package org.jeecg.modules.demo.score.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 积分详情表
 * @Author: jeecg-boot
 * @Date:   2024-10-17
 * @Version: V1.0
 */
@Data
@TableName("score_inf")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="score_inf对象", description="积分详情表")
public class ScoreInf implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**积分所属人*/
	@Excel(name = "积分所属人", width = 15)
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "积分所属人")
    private java.lang.String ownerId;
	/**所属人姓名*/
	@Excel(name = "所属人姓名", width = 15)
    @ApiModelProperty(value = "所属人姓名")
    private java.lang.String ownerName;
	/**所属人部门*/
	@Excel(name = "所属人部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
	@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "所属人部门")
    private java.lang.String ownerDeptId;
	/**所属人部门名称*/
//	@Excel(name = "所属人部门名称", width = 15)
    @ApiModelProperty(value = "所属人部门名称")
    private java.lang.String ownerDeptName;
	/**申请人*/
	@Excel(name = "申请人", width = 15)
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "申请人")
    private java.lang.String createdId;
	/**申请人姓名*/
	@Excel(name = "申请人姓名", width = 15)
    @ApiModelProperty(value = "申请人姓名")
    private java.lang.String createdName;
	/**积分类型*/
	@Excel(name = "积分类型", width = 15)
    @ApiModelProperty(value = "积分类型")
    private java.lang.String scoreType;
	/**积分描述*/
	@Excel(name = "积分描述", width = 15)
    @ApiModelProperty(value = "积分描述")
    private java.lang.String scoreDesc;
	/**拟申请积分分数*/
	@Excel(name = "拟申请积分分数", width = 15)
    @ApiModelProperty(value = "拟申请积分分数")
    private java.lang.String scoreValue;
	/**证明材料url*/
	@Excel(name = "证明材料url", width = 15)
    @ApiModelProperty(value = "证明材料url")
    private java.lang.String evidenceUrl;
	/**归属年份*/
	@Excel(name = "归属年份", width = 15, format = "yyyy")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy")
    @DateTimeFormat(pattern="yyyy")
    @ApiModelProperty(value = "归属年份")
    private java.util.Date year;
	/**是否已兑付奖励*/
	@Excel(name = "是否已兑付奖励", width = 15)
    @ApiModelProperty(value = "是否已兑付奖励")
    private java.lang.String isUsed;
	/**审核状态*/
	@Excel(name = "审核状态", width = 15)
    @ApiModelProperty(value = "审核状态")
    private java.lang.String authStatus;
	/**审核说明*/
	@Excel(name = "审核说明", width = 15)
    @ApiModelProperty(value = "审核说明")
    private java.lang.String authDesc;
}
